package com.bckj.fastboot.flow.model;

import com.bckj.fastboot.flow.process.BpmnVisitor;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class BpmnServiceTask extends BpmnElement {

    private String expression;
    private String delegateExpression;
    private String delegateClass;

    public BpmnServiceTask(String id, String name, String type) {
        super(id, name, type);
    }

    @Override
    public void accept(BpmnVisitor visitor) {
        visitor.visit(this);
    }
}
